Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to copy current file name #22174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ankddev
Copy link

@ankddev ankddev commented Dec 18, 2024

Closes #21967

Description

This PR adds commands to copy current file's name.

Screenshots

Editor command (command palette)

image

Release Notes:

  • Added commands to copy current file name

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 18, 2024
@ankddev ankddev changed the title feat: copy current file name feat: copy current file name command Dec 18, 2024
@ankddev ankddev force-pushed the copy-current-filename branch 2 times, most recently from 10f00ed to 7148e07 Compare December 18, 2024 12:41
@maxdeviant maxdeviant changed the title feat: copy current file name command Add command to copy current file name command Dec 18, 2024
@maxdeviant maxdeviant changed the title Add command to copy current file name command Add command to copy current file name Dec 18, 2024
@notpeter
Copy link
Member

  1. I don't think this is not a common enough operation that it deserves placement in default the project_panel or tab right click menu.

  2. Probably the action names should reversed so it's CopyFileName and CopyFileNameWithoutExtension. As I would assume the CopyFileName action would give me the filename, not a truncated version of it.

@ankddev
Copy link
Author

ankddev commented Dec 18, 2024

Okay, I will do it tommorow.

@notpeter notpeter self-assigned this Dec 18, 2024
@ankddev ankddev force-pushed the copy-current-filename branch 2 times, most recently from fca0609 to e233e1d Compare December 19, 2024 10:43
@ankddev ankddev force-pushed the copy-current-filename branch from 4a2a66c to f9d91f2 Compare January 24, 2025 14:06
@ankddev
Copy link
Author

ankddev commented Jan 24, 2025

@notpeter Any updates on this PR's state?

@ankddev ankddev force-pushed the copy-current-filename branch from 99fe3dd to 26776af Compare January 25, 2025 10:48
@ankddev ankddev closed this Jan 25, 2025
@ankddev ankddev force-pushed the copy-current-filename branch from 26776af to 7c0a39d Compare January 25, 2025 10:57
@ankddev ankddev reopened this Jan 25, 2025
@ankddev
Copy link
Author

ankddev commented Jan 25, 2025

I accidently removed all commits and force-pushed branch 🤣
Now I restored all changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copy current filename command
2 participants